﻿using DL.Combat.Base.Data;
using UnityEngine;

namespace DL.Health.Interface
{
    public interface IDamageable
    {
        /// <summary>
        /// 伤害触发方法
        /// </summary>
        /// <param name="combatAction"></param>
        /// <param name="hitcount"></param>
        /// <param name="attacker"></param>
        /// <param name="target"></param>
        void TriggerDamaged(CombatActionSO combatAction, int hitcount, Transform attacker, Transform target);
    }
}